projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7b88d
)
Allow pause to work on waypoints (WPL) in NMEA stream.
author
robertl
<robertl>
Tue, 11 Apr 2006 18:39:25 +0000
(18:39 +0000)
committer
robertl
<robertl>
Tue, 11 Apr 2006 18:39:25 +0000
(18:39 +0000)
nmea.c
patch
|
blob
|
history
diff --git
a/nmea.c
b/nmea.c
index 058544eba2eb12083cc790a60ee06221f7255ed2..e62124c6d4127884a60ad8e7c7194faf1a960b8f 100644
(file)
--- a/
nmea.c
+++ b/
nmea.c
@@
-746,6
+746,10
@@
nmea_wayptpr(const waypoint *wpt)
);
cksum = nmea_cksum(obuf);
fprintf(file_out, "$%s*%02X\n", obuf, cksum);
+ if (sleepus >= 0) {
+ fflush(file_out);
+ gb_sleep(sleepus);
+ }
xfree(s);